package com.hyacinth.common.util;

import java.io.Serializable;
import java.util.List;

public class Pager<S extends Serializable> implements Serializable {
	
	private static final long serialVersionUID = 6758720424654074692L;
	private Integer offset;
	private Long total;
	private Integer size;
	private List<S> datas;
	
	public Long getTotal() {
		return total;
	}
	public void setTotal(Long total) {
		this.total = total;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
	public List<S> getDatas() {
		return datas;
	}
	public void setDatas(List<S> datas) {
		this.datas = datas;
	}
	public Integer getOffset() {
		return offset;
	}
	public void setOffset(Integer offset) {
		this.offset = offset;
	}
}
